package com.bothin.experiment4.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by bothin
 * At 2019/12/22 10:14
 * Description:
 */
@Controller
@RequestMapping("/error/notice")
public class ErrorNoticeController {

    @RequestMapping("/403")
    public ModelAndView to_403(){
        return new ModelAndView("error_notice/403");
    }

    @RequestMapping("/404")
    public ModelAndView to_404(){
        return new ModelAndView("error_notice/404");
    }

    @RequestMapping("/500")
    public ModelAndView to_500(){
        return new ModelAndView("error_notice/500");
    }
}
